package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.dto.SysSupplierPageParam;
import com.xinsoft.entity.po.SysSupplier;
import com.xinsoft.entity.vo.SysSupplierVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hsm
* @description 针对表【sys_supplier(供应商)】的数据库操作Mapper
* @createDate 2023-05-22 15:13:03
* @Entity com.xinsoft.entity.po.SysSupplier
*/
public interface SysSupplierMapper extends BaseMapper<SysSupplier> {

    IPage<SysSupplierVo> findListByParam(Page<?> page,@Param("param")SysSupplierPageParam param);

    List<SysSupplierVo> findListByParam(@Param("param")SysSupplierPageParam param);

    void insertOrUpdateBatch(List<SysSupplier> sysSupplierList);
}




